/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.Test;

import com.model.Tugas;
import java.util.Timer;

/**
 *
 * @author Roosz.OchyE
 */
public class TimerExample {

    public static void main(String[] args) {
        Timer timer = new Timer();
        timer.schedule(new Tugas("bali"), 1000);
        Timer timer1 = new Timer();
        timer1.schedule(new Tugas("jogja"), 0, 1000);
// apa beda kedua obyek timer ini
    }
}
